package com.ny.service;

import com.ny.entity.Product;

import java.sql.SQLException;
import java.util.List;

public interface ProductService {
    public List<Product> findAllProduct() throws SQLException, ClassNotFoundException;

    int insertProduct(Product newProduct);

    int updateProduct(Product updatedProduct);

    int deleteProduct(int deleteId);
}
